package cn.com.springsource.ioc.day1;


public class IndexService {


    IndexDao indexDao;

    public IndexService() {
    }

    public IndexService(IndexDao indexDao) {
        this.indexDao = indexDao;
    }

    public void setIndexDao(IndexDao indexDao) {
        this.indexDao = indexDao;
    }

    public void serviceTest(){
        indexDao.test();
    }
}
